/*
 * $Id: OracleSequenceFinderTest.groovy 95 2010-01-21 13:34:51Z andre.winkler@web.de $
 * ============================================================================
 * Project groovy-oracle
 * Copyright (c) 2008-2010 by Andre Winkler. All rights reserved.
 * ============================================================================
 *          GNU LESSER GENERAL PUBLIC LICENSE
 *  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2.1 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

package de.gluehloch.groovy.oracle.meta

import org.junit.Test/**
 * Test für die Klasse OracleSequenceFinder.
 * 
 * @author  $Author: andre.winkler@web.de $
 * @version $Revision: 95 $ $Date: 2010-01-21 13:34:51 +0000 (Thu, 21 Jan 2010) $
 */
class OracleSequenceFinderTest extends TestDatabaseUtility {

    @Test
    void testOracleSequenceFinder() {
    	def oracleSequenceFinder = new OracleSequenceFinder()
    	def sequences = oracleSequenceFinder.getSequences(sql)
    	assert sequences.contains('XXX_SQ')
    }

}
